import matplotlib.pyplot as plt
import numpy as np


x = np.arange(6)
y = [0.65, 0.1, 0.15, 0.06, 0.28, 0.28]
y1 = [0.61, 0.7, 0.99, 0.38, 0.62, 0.42]

bar_width = 0.25
tick_label = ["0", "1", "2", "3", "4", "5"]

plt.bar(x, y, bar_width, align="center", color="g", label="a", alpha=0.5)
plt.bar(x + bar_width, y1, bar_width, color="yellow", align="center", label="b", alpha=0.5)

plt.xticks(x + bar_width / 2, tick_label)

plt.legend()

plt.show()
